package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 售后-保修、故障单历史记录(AfterSalesHistory)表实体类
 *
 * @author yxy
 * @since 2024-10-23 14:19:54
 */
@Data
@ApiModel("售后-保修、故障单历史记录")
@TableName(value = "tb_after_sales_history")
public class AfterSalesHistory extends Model<AfterSalesHistory> implements Serializable {
    private static final long serialVersionUID = -87372061585995298L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Integer id;

    @ApiModelProperty("售后单号 BX保修单 GZ故障单")
    private String afterSalesNo;

    @ApiModelProperty("状态 0正常 1异常")
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("保修人员")
    private Long warrantyUser;

    @ApiModelProperty("操作者")
    private Long oprationUser;
}
